/* styles.css */
/* 完整样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0; /* 禁止元素收缩 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.8;
    min-width: 1280px; /* 强制最小宽度 */
    overflow-x: auto; /* 横向滚动条 */
    padding-bottom: 60px;
}

.navbar {
    background: #1a1a1a;
    padding: 1rem;
    position: static; /* 移除粘性定位 */
    top: 0;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: nowrap; /* 禁止换行 */
    gap: 2rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* 文字不换行 */
}

.navbar a:hover {
    color: #B22222;
}

footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.home-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('images/banner.jpg') center/cover;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


/* 主要内容容器 */
.main-content,
.character-main,
.episodes-main,
.reviews-main,
.contact-main {
    width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}



/* 剧集海报横向滚动 */
.season-posters {
    display: flex; /* 改用flex布局 */
    gap: 1rem;
    margin-top: 1.5rem;
    overflow-x: auto; /* 横向滚动 */
    width: 1280px;
}

.poster-item {
    flex: 0 0 auto; /* 禁止伸缩 */
    width: 300px; /* 固定宽度 */
    position: relative;
}

/* 角色介绍容器 */
.character-wrap {
    width: 1280px;
    margin: 0 auto 3rem;
}

.character-container {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.character-img {
    width: 300px; /* 固定图片容器宽度 */
    flex: 0 0 auto;
}

/* 获奖记录容器 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px); /* 固定列宽 */
    gap: 2rem;
    width: 1280px;
}

/* 表单容器 */
.contact-form {
    width: 800px; /* 固定宽度 */
    margin: 2rem auto;
}

/* 移除所有媒体查询 */
/* 移除所有transform相关样式 */
/* 移除position: sticky相关样式 */

/* 保留必要交互样式 */
.navbar a:hover {
    color: #B22222;
}

button:hover {
    background: #8B0000;
}

/* 保留基础卡片样式 */
.info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 1280px;
    margin: 2rem auto;
}

/* 文字内容禁止换行 */
.lead-text,
.character-desc p,
.review-body {
    white-space: normal; /* 允许文字换行 */
    overflow: visible; /* 允许溢出 */
}

/* 横向滚动容器示例 */
.scroll-container {
    width: 1280px;
    overflow-x: auto;
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

/* 固定尺寸元素 */
.fixed-size {
    width: 300px;
    height: 400px;
    flex: 0 0 auto;
}


/* 新增样式 */
.main-photo {
    position: relative;
    margin-top: 0; /* 紧贴导航栏 */
    height: 60vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* 新增文字居中样式 */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* 新增/修改的CSS样式 */
.hero-container {
    position: relative;
    margin-top: -1px; /* 消除导航栏间隙 */
    overflow: hidden;
    height: 35vh;
    min-height: 280px;
    max-height: 400px;
    background: #1a1a1a;
}

.responsive-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.98;
}

.main-content {
    padding: 2rem 1rem;
}

.centered-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.title-box {
    margin-bottom: 1.5rem;
}

.title-box h2 {
    font-size: 2.4rem;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.underline {
    width: 80px;
    height: 3px;
    background: #B22222;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    padding: 0 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.accent-card {
    background: #1a1a1a;
    color: white;
}

.card-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

.accent-card .card-header {
    background: #2a2a2a;
    border-color: #333;
}

.card-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.poster-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.poster-wrapper:hover {
    transform: translateY(-3px);
}

.season-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 82.28 / 116.41; /* 精确比例 */
}

.season-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(178,34,34,0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.awards-list {
    list-style: none;
    padding-left: 1.2rem;
}

.awards-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.awards-list li:before {
    content: "•";
    color: #B22222;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}




.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.character-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.character-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 3px solid #B22222;
}

.character-card h3 {
    padding: 1rem;
    background: #f8f9fa;
}

.character-card p {
    padding: 0 1rem 1.5rem;
}

.season-list {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.season {
    margin-bottom: 3rem;
}

.season ol {
    list-style-type: none;
}

.season li {
    padding: 1rem;
    margin: 1rem 0;
    background: #f8f9fa;
    border-left: 4px solid #B22222;
}

.review-container {
    max-width: 800px;
    margin: 2rem auto;
}

.review-card {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background: #B22222;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    background: #8B0000;
}



/* 统一标题字号 */
.highlight-card h3,
.awards-card h3 {
    font-size: 1.4rem !important;
}

/* 季数标签样式 */
.season-label {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

/* 获奖记录背景和间距 */
.awards-card {
    background: #444444 !important;
    margin-top: 2rem !important;
}

/* 调整剧集信息与奖项卡片的间距 */
.info-grid {
    gap: 2rem;
}

/* 奖项区块样式 */
.awards-container {
    display: grid;
    gap: 2rem;
}

.award-category {
    position: relative;
    padding-left: 1.5rem;
}

.award-category:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 6px;
    height: 1.2em;
    background: #B22222;
}

.award-category h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #f8f8f8;
    opacity: 0.9;
}

.award-stats {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(209, 13, 13, 0.2);
}

.awards-list {
    list-style: none;
    color: #bab6b6;
    padding-left: 1.2rem;
}

.awards-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    opacity: 0.9;
}

.awards-list li:before {
    content: "•";
    color: #B22222;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: -0.1rem;
}



/* styles.css 角色页完整样式 */
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

.navbar {
    background: #1a1a1a;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.navbar a:hover {
    color: #B22222;
}

/* 角色页主体 */
.character-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0 3rem;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #B22222;
}

/* 角色容器 */
.character-wrap {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.character-wrap:hover {
    transform: translateY(-3px);
}

.character-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

/* 角色图片 */
.character-img {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.character-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.character-img:hover img {
    transform: scale(1.05);
}

/* 角色详细信息 */
.character-detail {
    flex: 1;
    padding-right: 1rem;
}

.character-detail h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.actor {
    color: #B22222;
    font-weight: 500;
}

.divider {
    color: #999;
    opacity: 0.6;
}

.identity {
    background: rgba(178,34,34,0.1);
    color: #B22222;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.character-desc p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

/* 特征列表 */
.feature-list {
    list-style: none;
    padding-left: 1.2rem;
    border-left: 3px solid #B22222;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.feature-list li::before {
    content: "▪";
    color: #B22222;
    position: absolute;
    left: -0.8rem;
    top: 0.1rem;
}



/* 页脚 */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1000;
}

/* 剧情页样式 */
.episodes-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.season-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
    overflow: hidden;
}

.season-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.reverse {
    flex-direction: row-reverse;
}

.season-text {
    flex: 1;
    padding: 1rem;
}

.season-img {
    flex: 0 0 45%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.season-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.season-img:hover img {
    transform: scale(1.05);
}

.season-card h2 {
    color: #1a1a1a;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.season-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.season-desc p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.highlight-list {
    list-style: none;
    padding-left: 1.5rem;
    border-left: 3px solid #B22222;
}

.highlight-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.highlight-list li::before {
    content: "•";
    color: #B22222;
    position: absolute;
    left: -0.8rem;
    font-size: 1.2rem;
}



/* styles.css 新增样式 */
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

/* 导航栏 */
.navbar {
    background: #1a1a1a;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.navbar a:hover {
    color: #B22222;
}

/* 剧情页主体 */
.episodes-main {
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 80px;
    height: 3px;
    background: #B22222;
}

/* 时间线容器 */
.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: calc(50% + 200px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(178,34,34,0.2);
    z-index: 1;
}

/* 单季内容 */
.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.season-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.season-info {
    padding-right: 2rem;
}

.season-media {
    position: sticky;
    top: 120px;
    height: 0;
}

/* 海报框架 */
.poster-frame {
    width: 100%;
    height: 566px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.poster-frame:hover img {
    transform: scale(1.03);
}

.season-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(178,34,34,0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 文字内容样式 */
.season-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.divider {
    opacity: 0.6;
}

.season-desc p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.highlight-list {
    list-style: none;
    padding-left: 1.5rem;
    border-left: 3px solid #B22222;
}

.highlight-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.highlight-list li::before {
    content: "•";
    color: #B22222;
    position: absolute;
    left: -0.8rem;
    font-size: 1.2rem;
}


/* 精确对齐样式 */
.alignment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.season-pair {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    min-height: 500px; /* 根据内容调整 */
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.text-block, .image-block {
    display: flex;
    align-items: center;
    height: 100%;
}

.content-wrapper {
    padding-right: 2rem;
}

.poster-wrapper {
    width: 400px;
    height: 566px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.strict-ratio {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(178,34,34,0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* 文字样式 */
.meta-line {
    display: flex;
    gap: 1rem;
    color: #666;
    margin: 1rem 0;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding-left: 1.5rem;
    border-left: 3px solid #B22222;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.feature-list li::before {
    content: "•";
    color: #B22222;
    position: absolute;
    left: -0.8rem;
    font-size: 1.2rem;
}



/* 基础样式 */
.reviews-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #B22222;
}

/* 评价项容器 */
.reviews-container {
    display: grid;
    gap: 3rem;
}

.review-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

/* 图片容器 */
.media-column {
    width: 400px;
    height: 566px; /* 400*1.414 */
    position: relative;
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.03);
}

/* 文字内容 */
.content-column {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.platform-tag {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
}

.platform-tag.douban {
    background: rgba(0, 119, 34, 0.1);
    color: #007722;
}

.platform-tag.netizen {
    background: rgba(178,34,34,0.1);
    color: #B22222;
}

.platform-tag.official {
    background: rgba(13, 71, 161, 0.1);
    color: #0D47A1;
}

.rating-score {
    font-size: 1.8rem;
    font-weight: 700;
    color: #B22222;
}

/* 文字内容样式 */
.review-body {
    line-height: 1.8;
    color: #444;
}

.user-comment {
    margin: 1rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #B22222;
    font-style: italic;
    color: #666;
}

.review-stats, .user-info, .publish-info {
    display: flex;
    gap: 0.8rem;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.dot {
    opacity: 0.6;
}





/* 页脚样式 */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
}

/* 留言页样式 */
.contact-main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    margin: 2rem 0;
}

.form-title {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #B22222;
    outline: none;
    box-shadow: 0 0 0 3px rgba(178,34,34,0.1);
}

.submit-btn {
    background: #B22222;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #8B0000;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}




/* 剧情简介页样式 */
.episodes-main {
    background: #fafbfb; /* 淡蓝背景 */
    padding: 2rem 0;
}

.season-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

.season-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.season-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.reverse {
    direction: rtl;
}

.season-text {
    direction: ltr;
    padding: 2rem;
}

.season-poster {
    position: relative;
    background: #f0f0f0;
}

.season-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    margin: 1rem 0;
}

.highlight-list {
    list-style: none;
    padding-left: 1.5rem;
    border-left: 3px solid #B22222;
    margin-top: 1.5rem;
}


/* 交互增强样式 */
/* 输入框聚焦效果 */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #B22222;
    box-shadow: 0 0 0 3px rgba(178,34,34,0.1);
    outline: none;
}

/* 错误提示样式 */
.error-message {
    color: #d32f2f;
    font-size: 0.8rem;
    height: 1rem;
    margin-top: 0.3rem;
    transition: all 0.3s ease;
}

/* 字数统计 */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.3rem;
}

/* 按钮加载状态 */
.submit-btn.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.submit-btn.loading .loading-spinner {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 留言卡片样式 */
.message-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.message-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.user-name {
    font-weight: 600;
    color: #1a1a1a;
}

.post-time {
    color: #666;
    font-size: 0.8rem;
}

.message-actions {
    margin-top: 1rem;
    display: flex;
}

.like-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn:hover {
    background: #f5f5f5;
}

.like-btn.liked {
    background: rgba(178,34,34,0.1);
    border-color: #B22222;
    color: #B22222;
}

/* 成功提示 */
.success-message {
    color: #007722;
    margin-top: 1rem;
    height: 1.2rem;
    transition: all 0.3s ease;
}


/* 剧集海报横向排列样式 */
.season-posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.poster-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.poster-item:hover {
    transform: translateY(-5px);
}

.season-poster {
    width: 100%;
    height: 100%; /* 固定高度 */
    object-fit: cover;
    border-bottom: 3px solid #B22222;
}

.season-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* 修改主图样式 */
.hero-image {
    width: auto; 
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain; /* 替换原来的cover */
}

/* 季数海报 */
.season-poster {
    width: auto !important;
    max-width: 100%;
    height: auto;
    aspect-ratio: unset; /* 移除固定比例 */
    object-fit: contain;
}


/* 通用图片规则 */
img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 保持原有布局结构 */
.poster-item,
.character-img,
.season-poster {
    overflow: visible; /* 移除hidden限制 */
}





